#include "fxcc/core/BaseImporter.h"

template<>
void fxcc::yml::Serializer::Encode<MetaIndex>(YAML::Node& node, const MetaIndex& inst)
{
	SetVariable<std::string>(node, "m_FilePath", inst.m_FilePath);
	SetVariable<uint64_t>(node, "m_LastUpdateTime", inst.m_LastUpdateTime);

}


template<>
bool fxcc::yml::Serializer::Decode<MetaIndex>(const YAML::Node& node, MetaIndex& inst)
{
	GetVariable<std::string>(node, "m_FilePath", inst.m_FilePath);
	GetVariable<uint64_t>(node, "m_LastUpdateTime", inst.m_LastUpdateTime);

	return true;
}